//
//  ViewController.m
//  CodeHelper
//
//  Created by Rowling on 2023/5/8.
//

#import "ViewController.h"
#import "EncryptVC.h"
#import "StringEncrypt.h"
#import "DeviceInfoGenerator.h"
@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    [StringEncrypt decrypt:[StringEncrypt encrypt:@"testtset" key:@"1234567890123456" iv:@"1234567890123457"] key:@"1234567890123456" iv:nil];
    
//    [[DeviceInfoGenerator new] write];


}





- (void)setRepresentedObject:(id)representedObject {
    [super setRepresentedObject:representedObject];
    
    // Update the view, if already loaded.
}

- (IBAction)onGenerateDevice:(id)sender {
    [[DeviceInfoGenerator new] write];
}

@end
